package com.wdb007.venus.web.api.book.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.wdb007.venus.web.api.Jsonable;

public class BRBookResultVO implements Serializable, Jsonable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2049095774700595249L;

	private int borrowcount;

	private BigDecimal cost;

	private String borrowtime;
	private List<BRBookVO> list = new ArrayList<BRBookVO>();

	public int getBorrowcount() {
		return borrowcount;
	}

	public void setBorrowcount(int borrowCount) {
		this.borrowcount = borrowCount;
	}

	public BigDecimal getCost() {
		return cost;
	}

	public void setCost(BigDecimal cost) {
		this.cost = cost;
	}

	public List<BRBookVO> getList() {
		return list;
	}

	public void setList(List<BRBookVO> list) {
		this.list = list;
	}

	@Override
	public JSONObject toJson() {
		return (JSONObject) JSON.toJSON(this);
	}

	public String getBorrowtime() {
		return borrowtime;
	}

	public void setBorrowtime(String borrowtime) {
		this.borrowtime = borrowtime;
	}
}
